export default file => {
  return map[file] || null
}
const map = {
  'Layout': () => import('@/layout'),
  'User': () => import('@/views/system/user'),
  'Role': () => import('@/views/system/role'),
  'Menu': () => import('@/views/system/menu'),
  'Test': () => import('@/views/system/test'),
  'Dict': () => import('@/views/system/dict'),
  'Department': () => import('@/views/system/department'),
  'Permission': () => import('@/views/system/permission'),
  'LoginUser': () => import('@/views/system/loginUser'),
  'Logs': () => import('@/views/system/logs'),
  'Dashboard': () => import('@/views/dashboard')
}
